Devices

Удалить устройство

Отключает push-устройство текущего пользователя.

DELETE/api/v1/devices/{device_uuid}
Authentication
Bearer token required
Application
parus-mobile

Headers

{
    "Authorization": "Bearer YOUR_TOKEN",
    "X-Parus-App": "parus-mobile",
    "X-Parus-App-Key": "YOUR_API_KEY",
    "Content-Type": "application/json"
}

Response

{
    "success": true,
    "data": null
}

curl

curl -X DELETE "https://api.paruscms.ru/api/v1/devices/{device_uuid}" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "X-Parus-App: parus-mobile" \
  -H "X-Parus-App-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"